package com.xiaobai.dao;

import com.xiaobai.pojo.Quality;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface QualityDao {

    int deleteByPrimaryKey(Integer id);

    int insert(Quality record);

    int insertSelective(Quality record);

    Quality selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Quality record);

    int updateByPrimaryKey(Quality record);

    int updateOrInsertQuality(@Param("student_id") String student_id,@Param("content") String content);

    String selectQualityByStudentId(@Param("student_id")String student_id);
}